package com.atguigu.jxc.dao;

import com.atguigu.jxc.entity.DamageList;
import com.atguigu.jxc.entity.DamageListGoods;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface DamageListGoodsDao {

    int insertDamageListGoods(@Param("damageList") DamageList damageList, @Param("damageListGoods") DamageListGoods damageListGoods);

    int insertDamageList(@Param("damageList") DamageList damageList);

    List<DamageList> selectDamageListByDate(@Param("sTime") String sTime,@Param("eTime") String eTime);

    List<DamageListGoods> selectDamageListGoodsById(@Param("damageListId") Integer damageListId);

}
